package com.atguigu.gmall.common.constant;

/**
 * @author lhh
 * @ClassName RedisConst
 * @date 2022 2022/12/6
 */

public class RedisConst {

    public static final String SKU_DETAIL_CACHE = "sku:info:";

    public static final String SKUID_BITMAP = "skuids:bitmap";
    public static final String SKU_LOCK = "lock:sku:";
    public static final String SKU_HOST_SCORE = "skuId:host:";
    public static final String USER_LOGIN_KEY_PREFIX = "user:login:";
    public static final String USER_ID_HEADER = "UserId";
    public static final String TEMP_ID_HEADER = "TempId";
    public static final String CART_INFO_KEY = "cart:info:";
    public static final Integer CART_ITEM_NUM_LIMIT = 200;
    public static final String REPEAT_TOKEN = "repeat:token:";
    public static final String SECKILL_GOODS_CACHE = "seckill:goods:";
    public static final String SECKILL_CODE = "seckill:code:";
    public static final String SECKILL_ORDER = "seckill:order:";
}
